<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c"%>
<%@ taglib uri="/WEB-INF/tld/fmt.tld" prefix="fmt"%>

<table id="listInformRuleList" cellspacing="0" cellpadding="0">
	<thead>
		<tr>
			<td class="rvimscheckbox"><input type="checkbox" onclick="selectAllForList('listInformRuleList')"></td>
			<td>规则名称</td>
			<td>告知类型</td>
			<td>操作</td>
		</tr>
	</thead>
	<tbody>
		<c:forEach items="${listInformRule.results}" var="informRule">
			<tr id="objId_${informRule.id }">
				<td><input type="checkbox" name="informRuleIds" value="<c:out value='${informRule.id}'/>"></td>
				<td><c:out value="${informRule.name}"/></td>
				<td><c:out value="${informRule.type}"/></td>
				<td class="rvimsoperation">
				<a href="javascript:ajaxShowInformRuleView('${informRule.id}')" title="详细信息"><span class="ui-icon ui-icon-document"></span></a>
				<a href="javascript:ajaxShowInformRuleEdit('${informRule.id}')" title="修改"><span class="ui-icon ui-icon-pencil"></span></a>
				<a href="javascript:ajaxDeleteInformRuleById('${informRule.id}')" title="删除"><span class="ui-icon ui-icon-trash"></span></a>
			</td>
			</tr>
		</c:forEach>
		<tr>
			<td><input type="checkbox" name="informRuleIds" value="1"></td>
			<td>测试数据1</td>
			<td>测试数据1</td>
			<td class="rvimsoperation">
					<a href="javascript:ajaxShowInformRuleView('1')" title="详细信息"><span class="ui-icon ui-icon-document"></span></a> 
					<a href="javascript:ajaxShowInformRuleEdit('1')" title="修改"><span class="ui-icon ui-icon-pencil"></span></a> 
					<a href="javascript:ajaxDeleteInformRuleById('1')" title="删除"><span class="ui-icon ui-icon-trash"></span></a>
				</td>
		</tr>
		<tr>
			<td><input type="checkbox" name="informRuleIds" value="2"></td>
			<td>测试数据2</td>
			<td>测试数据2</td>
				<td class="rvimsoperation">
					<a href="javascript:ajaxShowInformRuleView('2')" title="详细信息"><span class="ui-icon ui-icon-document"></span></a> 
					<a href="javascript:ajaxShowInformRuleEdit('2')" title="修改"><span class="ui-icon ui-icon-pencil"></span></a> 
					<a href="javascript:ajaxDeleteInformRuleById('2')" title="删除"><span class="ui-icon ui-icon-trash"></span></a>
				</td>
		</tr>
	</tbody>
</table>
<div id="rvimsPaginationPanel"></div>
<div id="dialog2"></div>
<script type="text/javascript">
	setTableCSS("listInformRuleList");
	setPagination("rvimsPaginationPanel","${listInformRule.pagination.totalPages}","${listInformRule.pagination.currentPage}","${listInformRule.pagination.pageSize}","${listInformRule.pagination.totalRows}",ajaxFindInformRuleSearchList);
</script>